package com.zmm.member.service;

import com.zmm.common.exception.handle.BusinessException;
import com.zmm.member.model.Customer;

/**
 * @author 900045
 * @description:
 * @name LoginService
 * @date By 2021-07-26 14:57:01
 */
public interface LoginService {


	/**
	 * 用户 账户密码 登录 --- 接口
	 * @author: 900045
	 * @date: 2021-07-26 17:10:06
	 * @throws BusinessException
	 * @param userName: 
	 * @param password: 
	 * @param ip:   
	 * @return: com.zmm.member.model.Customer
	 **/
	Customer doLogin(String userName, String password, String ip) throws BusinessException;

	/**
	 * 验证 -- 短信验证码的 正确性 --- 接口
	 * @author: 900045
	 * @date: 2021-07-26 14:57:16
	 * @throws 
	 * @param phoneNum: 
	 * @param type: 
	 * @param verifyCode: 
	 * @return: boolean
	 **/
	boolean captchaSmsVerifyCode(String phoneNum, Integer type, String verifyCode);
}
